<p class="pageTitle"><%= Artist.l_attr('new') %></p>

<%= error_messages_for :artist %>

<% tabnav :artist do %>
  <% l_scope :help, 'new artist' do%>
  <%= l(:main) %>
  <ol>
    <li><%= l(:req1) %></li>
    <li><%= l(:req2) %></li>
    <li><%= l(:req3) %></li>
  </ol>
  <% end %>
  <% form_for [:admin, @artist], :builder => TabledBuilder do |f| %>
  <%= render :partial => 'new', :object => f %>

<!-- 
<br />
<fieldset><legend>Artist Description</legend>
  <p>	Note: you can create additional artist descriptions after clicking Create below.
  </p>

  <table class="center"> 
  <% fields_for :artist_description do |ad_f|%>
  
    <tr>
      <td class="tdRight">
        <label for="language">
          <%= l('common', 'language')%> <span class="required"><%= l(:common, :required) %></span>:
        </label>
      </td>
      <td>
        <%= ad_f.select( :language, ['Deutsch', 'English', 'Español', 'Italiano', 'Nederlands', 'Português (Brasil)', 'Русский язык', 'Swedish'], {:prompt => "Select a language"}, html_options = {:class => "adminFields"}) %>
      </td>
    </tr>
  
     <tr>
      <td colspan="2">
        <label for="bio">
          <%= ArtistDescription.l_attr('biography') %> <span class="required"><%= l(:common, :required) %></span>:
        </label>
       </td>
     </tr>
      <tr>
        <td colspan = "2">
	        <%= ad_f.text_area :biography, :class => "descFields" %>
      </td>
    </tr> 

     <tr>
       <td colspan="2">
        <label for="ps">
          <%= ArtistDescription.l_attr('personal statement') %> <span class="optional"><%= l(:common, :optional) %></span>:
        </label>
       </td>
     </tr>
     <tr>
      <td colspan="2">
	        <%= ad_f.text_area :personal_statement, :class => "descFields" %>
      </td>
    </tr> 
  <% end %>

    <tr>
      <td colspan="2" class="tdCenter">
        <%= f.submit l(:common, 'create') %>        
      </td>
    </tr>
  </table>

<% end %>
</fieldset>
-->

<% end %>